﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Coldairarrow.Entity.PB
{
    /// <summary>
    /// 排班主表
    /// </summary>
    [Table("PB_Schedule")]
    public partial class PB_Schedule
    {

        /// <summary>
        /// 主键
        /// </summary>
        [Key, Column(Order = 1)]
        public String Id { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 创建人Id
        /// </summary>
        public String CreatorId { get; set; }

        /// <summary>
        /// 创建人姓名
        /// </summary>
        public String CreatorRealName { get; set; }

        /// <summary>
        /// 否已删除
        /// </summary>
        public Boolean Deleted { get; set; }

        /// <summary>
        /// 排班开始日期
        /// </summary>
        public DateTime? WorkingDate { get; set; }

        /// <summary>
        /// 排班结束日期
        /// </summary>
        public DateTime? shiftarrangementDate { get; set; }
   

        /// <summary>
        /// 车间编号
        /// </summary>
        public String WorkShopID { get; set; }

        /// <summary>
        /// 班次
        /// </summary>
        public String Shifts { get; set; }

        /// <summary>
        /// 审核状态
        /// </summary>
        public Int32? Toexamine { get; set; }

       /// <summary>
       /// 审核人
       /// </summary>
        public String ToExamineId { get; set; }
        /// <summary>
        /// 审核时间
        /// </summary>
        public String ToExamineName { get; set; }
       /// <summary>
       /// 审核时间
       /// </summary>
        public DateTime? ToExamineTime { get; set; }
    }
}